package com.css.zfzx.fwsjcj.modules.expert.service;

import com.alibaba.fastjson.JSONObject;
import com.css.bpm.platform.org.division.repository.entity.DivisionEntity;
import com.css.zfzx.fwsjcj.modules.expert.entity.FwExpertEntity;
import com.css.zfzx.fwsjcj.modules.expert.entity.FwUserDivisionEntity;
import com.css.zfzx.fwsjcj.modules.expert.vo.ExpertVo;
import com.css.zfzx.fwsjcj.modules.expert.vo.FwUserDivisionVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface FwExpertService {
    JSONObject getPage(HttpServletRequest request, int curPage, int pageSize, ExpertVo expertVo);

    void save(ExpertVo expertVo);

    void edit(ExpertVo expertVo);

    List<DivisionEntity> initZtree();

    String getExpertStructureType(String userId);

    List<Map<String,Object>> getProvince(String userId);

    List<Map<String, Object>> getCity(String userId);

    List<Map<String,Object>> getProvincialCity(String userId, String provinceId);

    String getExpertDataType(String userId);

    List<FwUserDivisionEntity> getDataRange(String userId);

    Map<String, Object> getProvincialCityName(String userId);
}
